//
// Created by Yurzi on 2021/3/22.
//

#ifndef CEDUGROUPWORK_GLOBALDEFINITIONS_H
#define CEDUGROUPWORK_GLOBALDEFINITIONS_H

//单页显示数量
#define ONEPAGE_ITEMS 24
#define MISS 0.00000001

//程序风格
#define _DEFAULT_UFORCE 8
#define _DEFAULT_UBACK 6
#define _DEFAULT_TEXT_UFORCE 1
#define _DEFAULT_TEXT_UBACK 15

//密码的长度
#define MAX_PWDLENGTH 25

//回归预测阶数
#define DEGREE 10


#define ALLISOK 0
#define _ERROR -1

//一些流程控制符的宏定义
#define _PRC_OK 0
#define _PRC_RETURN_TO_UPPER 1
#define _PRC_ERROR_DEFAULT -1
#define _PRC_ERROR_DATA -2
#define _PRC_ERROR_FILE -3
#define _PRC_EXIT 114514

//输入监听的一些控制符
#define _INPUT_OK 0
#define _INPUT_ERROR_DEFAULT -1
#define _INPUT_WARNING -2
#define _INPUT_PSWD -3

//图形绘制相关控制符
#define FULL_CIRCLE 0
#define HALF_CIRCLE 1
#define QUARTER_CIRCLE 2
#define EIGTH_CIRCLE 3

//界面操作选择
#define _JUST_SHOW 0
#define _SHOW_CAT 1
#define _SHOW_ALTER 2
#define _SHOW_DEL 3
#define _SHOW_ADD 4
#define _SHOW_DOUBLE 5
#define _OUT_SHOW_CHOICE 6
#define _SHOW_REG 7

#endif //CEDUGROUPWORK_GLOBALDEFINITIONS_H
